import { deviceColorList } from "@/data/options/selection";
import { stageConfig } from "@/views/paint/modules/data/stage";

export const getColorList = computed(() => {
  let arr: any[] = [];
  deviceColorList.forEach((e) => {
    if (stageConfig.value.deviceColor === e.value || stageConfig.value.deviceColor === e.label) {
      arr = e.colorList;
    }
  });

  return arr;
});
